Meaning of the word "company in distress makes trouble less" in English

What does "company in distress makes trouble less" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

company in distress makes trouble less

US /ˈkʌm.pə.ni ɪn dɪˈstres meɪks ˈtrʌb.əl les/
UK /ˈkʌm.pə.ni ɪn dɪˈstres meɪks ˈtrʌb.əl les/
"company in distress makes trouble less" picture

Idiom

the idea that suffering is easier to bear when one is not alone or when others are sharing the same misfortune

Example:
We were all stuck in the rain together, but company in distress makes trouble less.
Knowing that others failed the exam too made me feel better; company in distress makes trouble less.